dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d249cc
)
fixed suggest URL
author
Yuri Astrakhan
<yurik@users.mediawiki.org>
Mon, 16 Oct 2006 02:41:41 +0000
(
02:41
+0000)
committer
Yuri Astrakhan
<yurik@users.mediawiki.org>
Mon, 16 Oct 2006 02:41:41 +0000
(
02:41
+0000)
opensearch_desc.php
patch
|
blob
|
history
diff --git
a/opensearch_desc.php
b/opensearch_desc.php
index
cd3638f
..
90bfe7d
100644
(file)
--- a/
opensearch_desc.php
+++ b/
opensearch_desc.php
@@
-19,7
+19,7
@@
if ( !preg_match( '/^https?:/', $wgFavicon ) ) {
$title = Title::makeTitle( NS_SPECIAL, 'Search' );
$template = $title->escapeFullURL( 'search={searchTerms}' );
-$suggest =
$wgScriptPath . '/api.php?action=opensearch&search={searchTerms}'
;
+$suggest =
htmlspecialchars($wgServer . $wgScriptPath . '/api.php?action=opensearch&search={searchTerms}')
;
$response = $wgRequest->response();